/*
 * asm.h
 *
 *  Created on: Apr 18, 2011
 *      Author: makkalot
 */

#ifndef ASM_H_

extern int switch_asm(void *next_thread_registers,void **next_thread_stack,void *curr_thread_registers, void **curr_thread_stack);
extern int save_context_asm(void *curr_thread_registers, void **curr_thread_stack);
extern int restore_context_asm(void *next_thread_registers,void **next_thread_stack);
extern int load_registers_asm(void *new_thread_registers);


#define ASM_H_
#endif /* ASM_H_ */
